Playing with graphs, in Java.