implemented basic mathods of SegmentsOfContinuous object, and tested
them. including to_file, from_file