Added tree_isLeaf() function

Returns true if both the left and right subtree are empty, false
otherwise.
Minor formatting
Finished tree_sum()