public boolean checkRange(XYLocation finalLocation) {
		if (finalLocation.getXCoOrdinate()<0 || finalLocation.getXCoOrdinate()>=rowBoard)
			return false;
		if (finalLocation.getYCoOrdinate()<0 || finalLocation.getYCoOrdinate()>=colBoard)
			return false;
		return true;
	}