Random program generator for Python