added excercise3 script