public static void main(String[] args){
		int[][] grid = {
				{2, 5, 17, 12, 3},
				{15, 8, 4, 11, 10},
				{9, 18, 6, 20, 16},
				{14, 13, 12, 1, 07}
		};
		
		int[] path = getPath(grid);

		for (int p : path) {
			System.out.println(p);
		}
	}