Implement the basic form of a debounce function.
For deterministic grading, represent calls as an event stream. Each event contains after, the elapsed time since the previous call, plus args and kwargs. Return the argument payload for each call that would execute after no newer call arrives during delay.
debounce(calls, delay)
after, a list args, and a dictionary kwargsdef debounce(calls, delay):