changed solutions.c, so that mutliple solution lists are possible