CheckBST. Exercise 4.5