Changing the students array into and array of hashes