Client and graph class with methods to compute the chromatic polynomial of a graph