Improved sevensegment.py
Improved loop.py