workable tranverseLdr in BinTree.js