Demo mode for selection sort now works