Generation of solution for testing.