Create ring.py