Fixes #1. 

Implement Comparable interface in class Edge.