private void assignStudentToCourse(Scanner sn) {
		sn = new Scanner(new InputStreamReader(System.in));
		Student newStudent = new Student();
		System.out.print("Student first name: ");
		String firstName = sn.next();
		System.out.print("Student last name: ");
		String lastName = sn.next();
		System.out.print("Student id: ");
		String id = sn.next();
		

		newStudent.setFirstName(firstName);
		newStudent.setLastName(lastName);
		newStudent.setID(id);	
		
		System.out.print("Assign to course (yes/y or no/n): ");		
		String addNew = sn.next();
		while (addNew.equals("y") || addNew.equals("yes"))
		{
			System.out.print("Assign to course (name): ");
			String courseName = sn.next();
			// System.out.print("Assign to session: ");
			Course course = null;
			for (Course c : prototypeCourses) {
				if (c.getName().equals(courseName)) {
					course = c;
					break;
				}
			}
			course.getStudents().add(newStudent);
			newStudent.getCourses().add(course);
			
			ArrayList<Session> currentCourseSessions = course.getSessions();
			for (Session s : currentCourseSessions) {
				System.out.print("Input attendance for session" + s.getSessionName() + "(T/F/MV): ");
				String att = sn.next();
				AttendanceEnum attEnum = null;
				switch (att.toUpperCase()) {
				case "T":
					attEnum = AttendanceEnum.PRESENT;
					break;
				case "F":
					attEnum = AttendanceEnum.ABSENT;
					break;
				case "MV":
					attEnum = AttendanceEnum.MV;
				}
				s.getStudentAttendance().put(newStudent, attEnum);
			}
			
			System.out.print("Assign to course (yes/y or no/n): ");		
			addNew = sn.next();
		}
		
		prototypeStudents.add(newStudent);
	}