remember,the king has to have a legal move.
you cant capture or endanger your king.
only rook or the piece you choose can move(this one is rook)
only rook moves