Update piglatin.py

Fixed and implemented the input to now use the translate function.