Finished prob 14

Finished problem 14 from Chapter 8.