Adding the Lamport version of clocks.
This implements a simple is_before and is_concurrent event, based on the eventhistory stored per process.
Commit process priority as well as lamport suggests