Word sorter 2 | Beginning Ruby exercise