Adding abstract SortingAlgortihm and Element.