Added support for Lamport Clock algorithm

Added support for Lamport Clock algorithm