Replacing example with pared-down version

Old term-count example is updated to something I can use. May spin out of this repo eventually.
Updates to example scripts

- Add stdout output to example script
- New script to count character frequencies at start and end of lines, by parts of book