add main function to test about adj-list graph.