add graph obj and adj mats to dictioniary