merged event scheduler class and event set class for cleaner code. Changed unprocessed queue from priority_queue to multiset due to former's limitations in event deletion. added the compare event class to support multiset with class containers.