added basic Python bindings
fixed implicit declaration of isprint
refactored generation of C array initializers to avoid compiler warnings
fixed compiler warnings about pointer signedness