Generates all pseudo-legal moves for a rook.
Generates all pseudo-legal rook moves from the given square.