find pair for sum in BST finished