Added ex9.py
Added ex10.py