private static void displayTwoDegrees(BufferedReader reader, VideoStore videoStore) throws IOException, SQLException {
        System.out.println("Please enter the first performer:");
        String performer1 = reader.readLine();
        System.out.println("Please enter the second performer:");
        String performer2 = reader.readLine();

        int degrees = videoStore.getTwoDegrees(performer1, performer2);

        if (degrees > 1) {
            System.out.println("These actors are " + degrees + " degrees apart.");
        }
        if (degrees == 1) {
            System.out.println("These actors are one degree apart.");
        }
        if (degrees == 0) {
            System.out.println("These actors are either more than 2 degrees apart or not connected.");
        }
    }