public static void teacherMainMenu() throws IOException, Exception {
        InputStreamReader in = new InputStreamReader(System.in);
        BufferedReader keyboard = new BufferedReader(in);
        int choice = 0;
        while( choice!=6) {
            System.out.println("~~~~~Teacher Menu~~~~~");
            System.out.println("1. Add a Student");
            System.out.println("2. Add an Assignment");
            System.out.println("3. Update an Assignment");
            System.out.println("4. View a Course");
            System.out.println("5. Enroll a student in a course");
            System.out.println("6. Exit");
            choice = Integer.parseInt(keyboard.readLine());

            if ( choice == 1 ) System.out.println(new CommandLineInterface().createStudent());

            if ( choice == 2 ) System.out.println(new CommandLineInterface().addGradeItem());

            if ( choice == 3 ) System.out.println(new CommandLineInterface().updateGradeItem());

            if ( choice == 4 ) System.out.println(new CommandLineInterface().showCourseGrades());
            
            if ( choice == 5 ) System.out.println(new CommandLineInterface().addStudentToClass());
        }
    
    }