public void save(Course[][] courses, String fileName)
	{
		try
		{
			FileWriter output  = new FileWriter(fileName);

	        BufferedWriter out = new BufferedWriter(output);

	        for (int x = 0; x < courses.length; x++)
	        {
		        for (int y = 0; y < courses[x].length; y++)
		        {
		        	if (courses[x][y] != null)
		        	{
		        		String temp = courses[x][y].getSemester() + " " + courses[x][y].getCourse() + " " + courses[x][y].getDepartment() + " " + 
	        					courses[x][y].getCourseNumber() + " " + courses[x][y].getCreditHours() + " " + courses[x][y].getGrade() + " " + 
	        					courses[x][y].getCourseTitle();
	        	
		        		out.write(temp + "\n");
		        	}
		        }
	        }
	        
	        out.close();
		}
	    catch (Exception e)
		{
	    	System.err.println("Error: " + e.getMessage());
	    }
	}