added task2.py
edited task2.py