Add many compare functions
Using the new comparison functions
Use the new comparison functions when building the graph