selection sort, quick sort added