import java.util.*;

/*
 * Track the route from A to B, how many steps to get there
 * and any doors we must pass through on the way.
 */

public class Route
{
    public Route (Coordinate start, Coordinate end, int stepsTaken, Set<Character> doors)
    {
        _start = start;
        _end = end;
        _stepsTaken = stepsTaken;
        _theDoors = doors;
    }

    public Coordinate getStart ()
    {
        return _start;
    }

    public Coordinate getEnd ()
    {
        return _end;
    }

    public int getStepsTaken ()
    {
        return _stepsTaken;
    }

    public Set<Character> getDoors ()
    {
        return _theDoors;
    }

    @Override
    public String toString ()
    {
        return "Route < "+_start+", "+_end+", "+_stepsTaken+", "+_theDoors+" >";
    }

    @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())
        {
            Route temp = (Route) obj;

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

        return false;
    }

    private Coordinate _start;
    private Coordinate _end;
    private int _stepsTaken;
    private Set<Character> _theDoors;  // because we can :)
}
@@ -153,16 +153,116 @@
 Route%0A%7B%0A
+    public Route (Coordinate start, Coordinate end)%0A    %7B%0A        this(start, end, 0, null);%0A    %7D%0A%0A
     publ
@@ -1321,16 +1321,42 @@
 _end)));
+ // only compare positions
 %0A       

Update Route.java