Create iterative power.py