solve exercises 13.2 - 13.3