Making a hash list and getting values from it