impelent bst check method. Time: O(n) Space:O(1). Moris traversal – not thread safe