Visual Algorithm Simulator for a Synchronous Distributed System