Started working on issue #2 - added graph analysis.