added the code for finding the deepest left node in a tree