add rank, inorder traversal and size methods to BST