Partially implemented the lex phases consume method. Added a Pattern class to encapsulate the various token patterns.