Given a binary tree. Find the sum of all its leaves.
Definition of a tree:
Implement function SumLeaves that returns the sum of values of all its leaves.
Function SumLeaves returns 31 = 5 + 9 + 17.