rewriting galtoons.py to have dictionaries