add the implement of traversing bitree