def getCourseNums(majorNums, majorPages):
	"""
	Makes a set containing all Course Numbers.
	"""
	courseNums = set()
	for majorNum in majorNums:
		courses = [x[:x.index('"')] for x in majorPages[majorNum].split('<a name="')[1:]]
		for course in courses:
			courseNums.add(course)
	return courseNums