selectionSort not exactly working
not exactly working but on the way