Chap 2 excercise done