Submitting work in progress to be continued from home.

Added enum definition from stackoverflow. Added some comments on thinking pattern for solving this problem. The problem being associating word types with their definitions.