public int checkInBetweenVertical(int originLetter, int originNum, int newLetter, int newNum, Board b)
	{
		valid = 0;
		this.board = b;
		if(originNum > newNum)
		{
			int upValid = 0;
			int verticalUpNum = originNum;
			for(int counter = 0; counter < ((originNum-newNum)-1); counter++)
			{
				verticalUpNum = verticalUpNum - 1;
				if(b.checkBoard(verticalUpNum, originLetter).matches(chessPieces))
				{
					System.out.println(error);
				}
				else
				{
					upValid = 1;
				}
			}
			valid = upValid;
		}
		else if(newNum > originNum)
		{
			int downValid = 0;
			int verticalDownNum = newNum;
			for(int counter = 0; counter < ((newNum-originNum)-1); counter++)
			{
				verticalDownNum= verticalDownNum + 1;
				if(b.checkBoard(verticalDownNum, originLetter).matches(chessPieces))
				{
					System.out.println(error);
				}
				else
				{
					downValid = 1;
				}
			}
			valid = downValid;
		}
		return valid;
	}