Update coder.py
Cleaned and used variables