Calculate the chromatic polynomial of arbitrary hypergraphs.