print tree in clock sequence