Code to print out circular dependencies and needed libraries