Nevada Staffing's Shift Planner receives scheduled worker shifts as half-open intervals [start, end). Determine the maximum number of shifts active at the same time and return the earliest time when that maximum occurs.
An interval includes its start time but excludes its end time. Therefore, a shift ending at time t does not overlap a shift beginning at time t.
Implement peak_shift_overlap(shifts), where shifts is a list of two-element lists. Each interval [start, end] contains integer times with start < end. Return a two-element list [time, count], where count is the greatest number of simultaneously active shifts and time is the earliest time at which that count occurs.
def peak_shift_overlap(shifts):