tesing a version with no tree; not working yet
Fixed scope issue with total.
Removed debug statements. Cleaned up code slightly.
Some planning
Merge pull request #1 from newtype/no_tree

No tree