Insert interval to an sorted intervals. Accepted