adding carnival.py from Jared and Ryan'