traverse tree by level.from top to buttom, left to right