Fully implemented creation of graphs from methods (most notably counting of local variables)