A simple dictionary coding library