A simple scenario generator, written in Python