public static void Go(int starter, int n, int depth, boolean[] b, String path, int sum){
		for(int i = 0; i < 6; i++){
			if(!b[i] && grid[n][i]){
				b[i] = true;
				String newpath = path + " (" + i + ")" + n;
				if(depth == 6){
					if(starter/100 == n%100){
						System.out.println(newpath + "  Sum: " + sum);
					}
				}
				else{
					for(int j = 0; j < 100; j++){
						int n2 = (n%100)*100 + j;
						if(n2 > 1000){
							Go(starter, n2, depth+1, b, newpath, sum + n2);
						}
					}
				}
				b[i] = false;
			}
		}
	}