Created the Engine class.
Refactored printNextPoem