code: function mapBoard(board, func) {
      return board.map(function (col) {
          return col.map(function (p) {
              return func(p);
          });
      });
  }
docs: Map some function in all board positions and return a new board