closes #11: added Lexicon class