Started modifying caesar.py.

The things left to fix have been marked as TODOs