Updated minds.py with mostly PEP8 stuff