add validate binary search tree solution