Add tree utility file.
Add semi-working sum tutorial.