Create Graphandpower.py