Tne first versiton of Selection Sorting (currently unworking)