Basic yEnc encoder and decoder for python3