Node getNode(Node n,  Direction d) {
		Node node = null;
		
		for (int i=1; i<2; i++) {
			int x = d==Direction.right?n.x+i:d==Direction.left?n.x-i:n.x;
			int y = d==Direction.down?n.y+i:d==Direction.up?n.y-i:n.y;
			
			// testing new op here
			if (bwapi.getMap().isWalkable(x, y)) {			
//				System.out.println(String.format("great %d, %d is walkable!", x, y));
				node = new Node(x, y);
				return node;
			} else {
//				System.out.println(String.format("oops %d, %d is NOT walkable!", x, y));
				
			}
		}
		return node;
	}