Pig latin translator in Python