code: function(x) {
              	var ni = this.elements.length, i, nj = this.elements[0].length, j;
              	for (i = 0; i < ni; i++) {
              	    for (j = 0; j < nj; j++) {
              		if (this.elements[i][j] == x) { return {i: i + 1, j: j + 1}; }
              	    }
              	}
              	return null;
                  }
docs: Returns the indeces of the first match found by reading row-by-row from left to right