Remove focused test
Add an example
Refactor to read a char at a time

It's not reasonable to read everything from stdin