Create CSL.py

Add functions for cod