public boolean hasNext(int column, int row, Direction dir){
		switch (dir) {
		case NORTH:
			return row == 0 ? false : true;
		case SOUTH:
			return row == 9 ? false : true;
		case WEST:
			return column == 0 ? false : true;
		case EAST:
			return column == 9 ? false : true;
		}
		return false;
	}