Have objects communicate through a central mediator instead of referencing each other directly — a chat room, not a mesh of direct user-to-user connections.
Implement `ChatRoomMediator.send(from, text)`: deliver the message to every registered user except the sender, logging each delivery.
solve(messages, users) registers each user with the mediator, sends every message, and returns the delivery log.
solve([{ from: 'alice', text: 'hi' }], ['alice', 'bob']) → [{ to: 'bob', from: 'alice', text: 'hi' }]
Sample tests