public boolean sideCollision(ArrayList<Double> xArray,
			ArrayList<Double> yArray)
	{
		for (Block block : blockArray)
		{
			for (int i = 0; i < xArray.size(); i++)
			{
				if ((xArray.get(i) == block.getXValue())
						&& (yArray.get(i) == (block.getYValue())))
				{
					return true;
				}
			}

		}
		return false;
	}