Added exercises 38,39,40