now the king can move properly