Adding Classes for different Sorting Algorithms