finished code example in section 2, chapter11, ReadPrimers.java