Problem generator almost done.