ex7.py ex8.py ex9.py

Finished ex7 and completed ex8 and ex9