please help me in writing a program for representing any graph in adjacency list and adjacency matrix.