public static void main(String[] args) {
        
        Scanner s = new Scanner(System.in);
        s.useDelimiter("[, \n]");
        
        for (int i = 0; i < SIZE; i++) {
            for (int j = 0; j < SIZE; j++) {
                array[i][j] = s.nextInt();
            }
            s.nextLine();
        }
        
        for (int i1 = 0; i1 < SIZE; i1++)
            for (int i2 = 0; i2 < SIZE; i2++) {
                System.out.println("did " + i1 + ", " + i2);
                clearEvaluated();
                smallest_path_definite = Math.min(smallest_path_definite, findSmallestPath(i1, 0, i2, SIZE-1));
            }
        
        System.out.println(smallest_path_definite);
    }