Started writing some of the tree code.

  - implemented a post-order tree traversal
  - wrote a section defining the tree type and specifying how to index
    into it