Solve exercises 1-13 and 1-14