problem generation script done