#Have a look at this alternative answer to c, let me know if you have any questions about it; 
elsif response == 'c'
    print "name: "
    name = gets.chomp
      
    puts "age: "
    age = gets.chomp.to_i
      
    print "gender: "
    gender = gets.chomp
      
    print "species: "
    species = gets.chomp

    shelter.animals[name] = Animal.new(name, age, gender, species)
    #create an animal object and put it into the animal hash within the shelter
    print "Would you like to add a toy (y/n)?"
    add_toy = gets.chomp

    while add_toy == "y"
        puts "What toy would you like to add?"
        shelter.animals[name].toys << gets.chomp
        print "Would you like to add a toy (y/n)?"
        add_toy = gets.chomp
    end
    binding.pry
    # shelter.animals.merge!(name => [name, age, gender, species])
    # puts "We do not accept toys in this shelter, so do not ask."
    #In your code you are not instantiating a new animal object as the key to the hash; 
    puts shelter