Checking if starting time of next new job is greater than ending time of currently scheduled first job
if ( a [ i ] [ 0 ] >= tv1 ) : NEW_LINE INDENT tv1 = tv2 NEW_LINE tv2 = a [ i ] [ 1 ] NEW_LINE DEDENT