added algorithm for configuration merging. There is a bug somewhere, because even if the configurations are generated with some data inside, it is not printed, and merging the solution to the rest of the configuration in the end of the computation does not seem to have any effect.