more debug checks. basically I think when inserting we need to check the whole subtree to make sure the number is not already in there