exercise 1 code

adding code