finishing dragon_curve.py