traverse a 2tree