Find if given binary tree is a BST or not