Add EuclideanGraph.java.