Added selection sort. Heapsort is selection sort but uses a priority queue