solve exercises 13.1 - 13.5