Write a program to Implement a function to print In-Degree, Out-Degree and to display that adjacency matrix.