Hypergraphs, Characteristic Polynomials and the Ihara Zeta Function