void home(schedule courses[], int num)
 {
    char command; //The character corresponding to the desired option.

    cout << "\nTo proceed, type one of the following commands "
         << "(followed by return): " << endl;
    cout << "\na -- to add a course."
         << endl << "v -- to view your schedule."
         << endl << "q -- to quit the program." << endl;

    cout << "\nCommand: ";
    cin >> command;
    cin.ignore(100, '\n');

    run_command(command, courses, num);
