Added Palette class to further isolate color picking from graph generation. Modified Generator to work with a Palette object.