if (currentPos == null) {
bound.setRect(0, 9, 9, 0);
currentPos = new Position(new Vector(5,5), 3);
for(int j = 0; j < 5 ; j++) {
currentPos = search.getNext(currentPos, map, bound);
map.propagateEmpty((byte)currentPos.pos.x,(byte)currentPos.pos.y);
map.showMap();
System.out.println();
}
return;
}