add chap3 code, make/read text file