fix pom to build with hadoop2
sorted edges implementation
second-level semimetric to work with sorted edges --seems to work :s
changed test