print tree and king moves