Implement rook mobility.