Port BDR2 to python and retranslate everything

There is no switch case in Python, and the pythonish equivalent is a
bit too complex at this point of the lesson. So, instead, don't push
any new construct in this exercise. It becomes a sort of free exercise
and that's it.