Updates to code_jam.py

More comment updates
autosolve-specific imports moved to insides the function
_smart_open is now smart_open