Created a convert function to turn a string into a pig latin string.