a python implementation for Fudge message encoding system