Pig latin test in Ruby (Epicodus)