thank god...

added a table for looking up an edge given two vertices.