Ex1

completed ex1