Simple compression and decompression algorithms for strings written in python.