First round of debugging.  Current error, null pointer exception when trying to access map in Agent method generteSchedule()