Added new eaxamples ex7.py, ex8.py, and ex9.py