An Algebraic Representation of Graphs and Applications to Graph Enumeration. (4th March 2013)