Add toString() method to Interval and SubInterval.