main functionality for creating graph has been created.
functionality of mining the graph has been added