Modified send_event to support sending multiple events

As we discussed, feel free to choose between this and #13.