added erc_ring.py

Adding erc_ring.py