Create baseloops.py

Creating base file