First commit. Corrected some errors in sample code from class notes to do with scope of PrintWriter object in writing. Using PrintWriter.println() to keep line endings.
Test code for PrintWriter class.