Import algs4.Graph and change inner class to static

findbugs recommended changing the inner class to static probably because it
doesn't need access to the outer class.