public static Double[][] intializeArray(int N) {
		Double[][] array = new Double[N][];

		for (int i = 0; i < N; i++) {
			array[i] = new Double[N];
			for (int j = 0; j <= i; j++) {
				if(i == j)
					array[i][j] = 0.0;
				else
					array[i][j] = Double.POSITIVE_INFINITY;
					
			}
		}

		return array;
	}