refactored pig latin gem