public static int removeHandler(Board theBoard, Army army, String team)
    {
	int r, c;
	if(army.getCapacity() == army.getRemaining())
	{
	    System.out.println("No armies to remove.");
	    return 0;
	}
	else
	{
	    System.out.print("Enter row of piece to remove: ");
	    r = Integer.parseInt(""+input.next().charAt(0));
	    if((r<0)||(r>9))
	    {
		System.out.println("Out of bounds.");
		return 0;
	    }
	    System.out.print("Enter column of piece to remove: ");
	    c = Integer.parseInt(""+input.next().charAt(0));
	    if((c<0)||(c>9))
	    {
		System.out.println("Out of bounds.");
		return 0;
	    }
	    Location loc = new Location(c,r);
	    if(!theBoard.getPiece(loc).getTeam().equals(team)||
		    (theBoard.getPiece(loc).getType() == ' ')||
		    (theBoard.getPiece(loc).getType() == '#'))
	    {
		System.out.println("Could not remove piece.");
		return 0;
	    }
	    else
	    {
		army.deallocatePiece(theBoard.getPiece(loc).getType());
		theBoard.getPiece(loc).setType(' ');
		theBoard.getPiece(loc).setTeam(" ");
		return 1;
	    }		
	}
    }