Overloaded equality operator and created new child class for use with BinarySearchTree