cheesecacke_index.py: Code beautification to be more PEP8 conform

cheesecacke_index.py is not completely PEP8 conform, because in some places it would have reduced readability. But it is much more PEP8 conform now and hopefully easier to read.