correct implementation of binary search tree check
space
Merge pull request #76 from g-palmer/checkBST

binary search tree check