added function to find the BST max depth