Assignment 3 Implementing a Sorting Algorithm Solution