Fixed couple minor bugs. Parser works.

The parser for part 1 is up and running, and the scores are at the
required level (we get an F1 score of 65 %). Implementation was very
straightforward. Some optimizations may be necessary in order to meet
the performance requirements. In particular, the backpointer structure
for constructing a final tree may need to be removed.