private int[] perform(String purchase, String last, int[][] pri, int col) {
		int[] ipur = this.toInt(purchase.split(",|:"));

		int[] res = new int[2];
		int total = pri[0].length;
		
		if(pri[ipur[0]][ipur[1]] == 0){
			return null;
		}
		
		if(last != null){
			int[] ilast = this.toInt(last.split(",|:"));
			if ( ipur[2] - ilast[2] >= 5) {
				 int toCol = this.getMaxCol(pri);
				 
				 res[0] += this.getSec(col, toCol, total);
				 col = toCol;
				// System.out.println(res[0]+ "-" + col);
			}
		}

		res[0] += this.getSec(col, ipur[1], total);
		res[1] = ipur[1];
		pri[ipur[0]][ipur[1]] = 0;
		
		
		return res;
	}