2nd Exercise from RubyMotion book