Intervals.
__init__
Instantiate intervals
Instanciate an intervals object. Can be initialized by a list of intervals