changed remove method to replace node to be deleted with the greatest valued node in the left subtree