beer.rb homework