solve exercises 13.19 - 13.21