problem10.py comments added