generate first solution