Implementation of Distributed Snapshot and Rollback (Chandy-Lamport Algorithm)