Modified p2.py
updated p2.py