Begin implementing parser

Created basic framework for parser and added initial AST nodes.
Add functionality to parse duplication symbols
Add functionality for single-char expressions

Also modified several return values whose formats were not
consistent with the rest.
Add anchors and groupings
Add concatenation and union
Fix error with sequential duplication symbols