Updated PigLatinTranslator.py

Made code more efficient