added selectionSort (works)