Implementing and testing several Sorting Algorithms