ch 11 file creation
got provided code working, and did exercises 11.2~3
formatting, and did 11.5, 6, 9, 10