Calculate rook masks for ranks and files

These will be useful for magic bitboards later on.