BinaryTree Even Sum
Create a method named evenSum
that accepts a BinaryTree<Int>?
,
that is a BinaryTree
containing Int
values.
Return the sum of all of the even values in the tree.
For reference, cs125.trees.BinaryTree
is defined like this: