public boolean isValidMove(int startCol, int startRow, int endCol, int endRow)
	{
		if(!hasMoved)
		{
			//If first move was successful
			if((startCol == endCol && endRow - startRow <= 2) 
					|| (startCol == endCol && startRow - endRow <= 2))
			{
				hasMoved = true;
				System.out.println("this pawn has moved: hasMoved = " + hasMoved);
				return true;
			}
			
			//If first move was not successful
			return false;
		}
		else
		{
			//Check for successful subsequent moves
			return (startCol == endCol && Math.abs(startRow - endRow) <= 1) 
					|| (startCol == endCol && Math.abs(startRow + endRow) <= 1);
		}
	}