added lab4a.py