trying to get a tree fold function to work.  It's prety terrible.
starting hw5
messing a bit more with trees