Create encoding.py