Changes to ex1.py and added ex2.py

Rewrote ex1 and added ex2.py