Added getSyntaxTree with tests. Closes #6.

AST is implemented, although I've not had a play with it in a check yet.