added classes for binaryTree