completed exercise 1
woked on chaper 6 exercises