added constructor for graphcolor problem, but how to store it is still undecided