Solved exercise 26 : implementing size function in Tree