impoved king logic of movement.