public class Directions
{
    public static final String EAST = "e";
    public static final String SOUTH_EAST = "se";
    public static final String SOUTH_WEST = "sw";
    public static final String WEST = "w";
    public static final String NORTH_WEST = "nw";
    public static final String NORTH_EAST = "ne";

    private Directions ()
    {
    }
}
@@ -306,16 +306,961 @@
  %22ne%22;%0A%0A
+    public final static Coordinate getCoordinate (String direction, Coordinate current)%0A    %7B%0A        switch (direction)%0A        %7B%0A            case EAST:%0A            %7B%0A                return new Coordinate(current.getX()+2, current.getY());%0A            %7D%0A            case SOUTH_EAST:%0A            %7B%0A                return new Coordinate(current.getX()+1, current.getY()-1);%0A            %7D%0A            case SOUTH_WEST:%0A            %7B%0A                return new Coordinate(current.getX()-1, current.getY()-1);%0A            %7D%0A            case WEST:%0A            %7B%0A                return new Coordinate(current.getX()-2, current.getY());%0A            %7D%0A            case NORTH_WEST:%0A            %7B%0A                return new Coordinate(current.getX()-1, current.getY()+1);%0A            %7D%0A            case NORTH_EAST:%0A            default:%0A            %7B%0A                return new Coordinate(current.getX()+1, current.getY()+1);%0A            %7D%0A        %7D%0A    %7D%0A%0A
     priv

Update Directions.java