Tyler Technologies Interview Question

Write pseudo code for a program that can translate to Pig Latin and back again.