Stub and first implementation of the event queue. Currently very inefficient due to using a sorted list.
Test written, too. Runtime for 100,000 events about nine minutes.
Modified EventQueue to use a binary heap. Runs much faster now.
Example: Adding and then removing 100,000 events with 32million already in place require less than 0.25 seconds.
Now including the changed file...
Merge pull request #18 from FrederikDiehl/master

Event queue implementation