code for exercise1
code for exercise1