Comment Comment by tootlol The OP said he knows graph theory, it should be trivial for him then. parent tootlol 15 years ago