Java implementation of Ring Election Algorithm in Distributed Systems.