Fix syntax errors in MealFactory and ScheduleBuilder, change MealFactory to pick shortest schedule