public boolean isValidMove(Direction d)
	{
		if(d == Direction.DOWN)
		{
			if(compare(currentBlock, blockRow, blockCol, 1, 0) == true)
				return true;
			else
				return false;
		}
		else if(d == Direction.RIGHT)
		{
			if(compare(currentBlock, blockRow, blockCol, 0, 1) == true)
				return true;
			else
				return false;
		}
		else if(d == Direction.LEFT)
		{
			if(compare(currentBlock, blockRow, blockCol, 0, -1) == true)
				return true;
			else
				return false;
		}
		else if(d == Direction.ROTATE)
		{
			// Potential bug fix, still test of currentBlock not modified
			// TO-DO: try catch for null pointer exception
			try
			{
				tempBlock = currentBlock.clone();
				tempBlock.rotate();
				if(compare(tempBlock, blockRow, blockCol, 0, 0) == true)
					return true;
				else
					return false;
			}
			catch(Exception e)
			{
				System.out.println(e);
				return false;
			}
		}
		else
			return false;
		
	}