Implement create_event_bus() returning a dict with:
subscribe(event, listener) — register a listener, returns an unsubscribe callable.publish(event, data) — call all listeners for the event with data.solve drives your bus through a sequence of operations and returns
the call log: [[subscriber_id, data], ...].
Operations:
['subscribe', event, id] — subscribe listener id to event.['publish', event, data] — publish data to event.['unsubscribe', id] — call the unsubscribe function returned for id.Sample tests