Implement Foldable for Example.Tree