used generics for insersion and selection sort, added new sorting algorithms