added a graph class. it get's the term-term matrix e generates a graph based in the threshold. tested with the example from the book