Problem set A for Chapter 9 - Files and Streams