Finished problem 16