Implemented Course Segment class.

It can hold multiple time blocks.
It can also detect conflicts with another course segment