Exercise on ruby classes to build a pig latin translator