private boolean testLocation(XYLocation location) {
		if (location.getXCoOrdinate()<0 || location.getXCoOrdinate()>rowBoard-1)
			return false;
		if (location.getYCoOrdinate()<0 || location.getYCoOrdinate()>colBoard-1)
			return false;
		return true;
	}