fixed chaos.py, chanded output format