public static void main(String[] args) throws ClassNotFoundException {
	
			int[] sched = {1,2};
			
			DbHelper db = new DbHelper();
			
			for(int schedule : sched)
			{
				List<Group> groups = fillRooms(db, schedule);
				System.out.println("Schedule: " + schedule + "-------------");		
				for(Group g : groups) {
	
					String teacher = "";
					if(g.getTeacher() != null)
					{
						teacher = g.getTeacher();
					}
					
						System.out.println("Group: " + g.getName() + " Room: " + g.getRoom().getName() + " Teacher: " + teacher);		
		        
				}
			}
			
	    
		}