BST - to handle equal integers