Recursive traverse for BinTree