finished code example in section 1, chapter11, StreamInputFromFile.java
use mark method to reread the data in section 1, chapter11, StreamInputFromFile.java