Create writeChessBoard.m