Changing student data to hashes