Sandy Thomson: Chapter 10 exercises.

Didn't think about having the else to catch any exceptions, good call