generated sparse and dense graphs
added sparse and dense graph creation