protected void setDirection(String newDirection, int tape) {
		if (!(newDirection.equals("L") || newDirection.equals("R") || newDirection
				.equals("S")))
			throw new IllegalArgumentException("Direction must be L, R, or S!");
		direction.set(tape, newDirection);
	}