Ruby Selection Sort Example