#20 Only one subject for period of the day is allowed

Make corrections in the Problem class