public class Node
{
    public Node (String value, int steps)
    {
        _data = value;
        _steps = steps;
    }

    private String _data;
    private int _steps;
    private Node _left;
    private Node _right;
}
/*
 * A Node wraps a Cell from the Map and includes
 * links to the neighbouring Nodes.
 */

public class Node
{
    public Node (Cell theCell, Node up, Node down, Node left, Node right)
    {
        _theCell = theCell;
        _up = up;
        _down = down;
        _left = left;
        _right = right;
    }

    private Cell _theCell;
    private Node _up;
    private Node _down;
    private Node _left;
    private Node _right;
}
Update Node.java