Added ex6.py
Added ex7.py and ex8.py