I have the following classes:
public class Node { private int x; private int y; }
public abstract class Map { protected