private static boolean insideRectangle(double xCoord, double yCoord, double x, double x1, double y,double y1) {
		
		if (xCoord >= x && xCoord <= x1 && yCoord >= y && yCoord <= y1) {
			return true;
		} else {
			return false;
		}
	}