Fixed use of template class in sorting functions.
Both functions now use the same comparison operator.
Selection sort implemented
Added selection sort and now working with pointer to abstract class