Adds support for TaggedTrees with example.

Adds support for TaggedTrees with example.

Adds braces to if.

Changes example.
Removes unnecessary null check.
Merge pull request #9 from imminent/master

Adds support for TaggedTrees with example.