Fixed pigeon.rb solution