Check if given interval overlap with previously included interval , if not then include this interval and update the end point of last added interval
if l1 > r1 : NEW_LINE INDENT print ( " [ " , l1 , " , ▁ " , r2 , " ] " ) NEW_LINE r1 = r2 NEW_LINE DEDENT