Add a script to generate problem instances