move lzw compression to a separate file and clean up a bit
more cleanup, add example
bump version to 0.1.2