Work on algorithms, problem generator