Creating And Printing Graph Leetcode Problems