added a rank method to BST class