Update a3.py

Two functions remain in a3.py