fixed bug in greeting.rb