Merging in my chnages to forked repo.
Cleaned up the README with some forked project info.
Adding some functions, changing some functions. No real functionality difference. May not work, I haven't tested it.
Shrinking the hex generation code. Fixing a typo.
Merge pull request #9 from danielhoherd/master

Code cleanup and shrinking.