Converting to Modern syntax
Completing Undirected graph's indegreeOf.  This was never updated to use the delegate to see if loops are allowed.
Ran code through reformatting tool.