Added LRParser functionality. Current version looks like it works but
needs some more testing and finetuning.
Added utilities namespace with useful functions.