public static void main(String[] args) {
        CheapestFlightsWithinKStops cheap = new CheapestFlightsWithinKStops();
        System.out.println(cheap.findCheapestPrice(6, new int[][] {
                { 0, 1, 5 }, { 1, 2, 6 }, { 0, 3, 2 }, { 3, 1, 2 }, { 1, 4, 2 }, { 4, 2, 2 }, { 0, 5, 7 }, { 5, 2, 3 },
                }, 0, 2, 3));
        System.out.println(cheap.findCheapestPrice(3, new int[][] {
                { 0, 1, 100 }, { 1, 2, 100 }, { 0, 2, 500 }
        }, 0, 2, 0));

    }
Why Did you create this class? what does it do?
src/problems/medium/CheapestFlightsWithinKStops.java