Add an example of Chapter 2.1 which is a sample of reading a text file

This Pull Request only focuses on the case of text file, not on the case of binary file.