Update a1p2.py

updated output.json to output.txt