Changing ex1&2 to .py files