import java.util.Objects;

public class Path
{
    public Path (Coordinate start, Coordinate end)
    {
        this(start, end, 0);
    }

    public Path (Coordinate start, Coordinate end, int steps)
    {
        _start = start;
        _end = end;
        _numberOfSteps = steps;
    }
    
    @Override
    public String toString ()
    {
        return "< "+_start+", "+_end+", "+_numberOfSteps+" >";
    }

    @Override
    public int hashCode ()
    {
        return Objects.hash(_start, _end);
    }

    @Override
    public boolean equals (Object obj)
    {
        if (obj == null)
            return false;

        if (this == obj)
            return true;
        
        if (getClass() == obj.getClass())
        {
            Path temp = (Path) obj;

            if (_start.equals(temp._start) && (_end.equals(temp._end)))
                return true;
        }

        return false;
    }

    private Coordinate _start;
    private Coordinate _end;
    private int _numberOfSteps;
}
@@ -33,20 +33,21 @@
 c class 
-Path
+Route
 %0A%7B%0A    p
@@ -44,36 +44,37 @@
 te%0A%7B%0A    public 
-Path
+Route
  (Coordinate sta
@@ -146,20 +146,21 @@
  public 
-Path
+Route
  (Coordi
@@ -742,20 +742,21 @@
         
-Path
+Route
  temp = 
@@ -760,12 +760,13 @@
  = (
-Path
+Route
 ) ob

Update Route.java