Program to compute whether graph is overfull