This is my attempt at translating Pig Latin with Java