90grad rotation for chessboard