Corrected the code that is called when a node join a ring; created a local.rb ruby script