Many redesigns in code_jam.py