Removed the pointer Board* board, and added as parameters to rotate and shift.