Changed all code to use double-quotes for strings everywhere (just to be consistent everywhere).
Added write functions (as wrappers for format functions) just to have it a little bit easier.
Added pyhexview command-line script that uses pyhex to print either given file, or standard input as hexview.