private static void displayAvailableCourses(Student currentStudent,ArrayList<Course> courses){
		Collections.sort(courses, new courseCompare());
		ArrayList<CourseOffering> offeringNum = new ArrayList<CourseOffering>();
		int i = 0;

		// Loop through all the courses and print them
		for(Course course : courses) {
			System.out.println(course.toString());

			// If a course has available offerings display them
			for(CourseOffering offering : course.getCourseOfferings()) {
				// if the current student is not enrolled, then display the offering
				if(!offering.isStudentEnrolled(currentStudent) && !offering.isStudentWaitlisted(currentStudent)) {
					System.out.print("\t"+(i+1) + ":  ");
					// Display if they are enrolling vs. adding to waitlist
					if(offering.getEnrolledStudents().size() < offering.getMaxStudents())
						System.out.print("Add->");
					else
						System.out.print("Waitlist->");
					System.out.println(offering.toString());
					offeringNum.add(i, offering);
					i++;
				}
			}
		}

		// Check to see if there are no available courses
		if(offeringNum.size() == 0) {
			System.out.println("No available courses.");
			return;    
		}

		// Prompt the user for their selection
		System.out.println("Enter the number of the course offering you would like to add");
		System.out.print("or enter zero to return to main menu:  ");
		String selection = input.nextLine();
		try{
			int optionNum = Integer.parseInt(selection);
			if(optionNum > 0 && optionNum <= i){
				offeringNum.get(optionNum-1).enrollStudent(currentStudent);
			}    
		}
		catch (NumberFormatException e) {
			System.out.println("Invalid selection. Returning to main menu.");
		}
	}