Update and rename ex6.py to ex7.py