private String getCourseNumber(CourseData c){
		BlockNode temp;
		Iterator<BlockNode> library=courseList.iterator();
		
		String courseNumber="";
		int number=1;
		char greek='\u03B1';
		while(library.hasNext()){
			temp=library.next();
			//if a double is found
			if(temp.courseInfo.subjectline.equals(c.subjectline)
					&& temp.courseInfo.name.equals(c.name)){
				greek++;
				//if the last character in the double is a number
				//number is set to the correct number
				if(temp.courseInfo.courseNumber.charAt(temp.courseInfo.courseNumber.length()-1)<'\u03B1'){
					number=temp.courseInfo.courseNumber.charAt(temp.courseInfo.courseNumber.length()-1)-'0';
					temp.courseInfo.courseNumber+='\u03B1';
				}else{
					number=temp.courseInfo.courseNumber.charAt(temp.courseInfo.courseNumber.length()-2)-'0';
				}
			//if there is no double and the subjectline is the same and it does not have a character between beta and omega count up
			}else if(greek=='\u03B1' 
					&& temp.courseInfo.subjectline.equals(c.subjectline)
					&& !(temp.courseInfo.courseNumber.charAt(temp.courseInfo.courseNumber.length()-1)>'\u03B1' 
					&& temp.courseInfo.courseNumber.charAt(temp.courseInfo.courseNumber.length()-1)<'\u03C9')){
				number++;		
			}
		}
		courseNumber+=String.valueOf(number);
		if(greek>'\u03B1')
			courseNumber+=greek;
		return courseNumber;
	}