The paths of the first six walkers:
n = 1: (0,1) -> (0,0), so a(1) = 0;
n = 2: (0,1) -> (1,1) -> (1,0), so a(2) = 1;
n = 3: (0,1) -> (0,2) -> (0,1) -> (-1,1) -> (-1,0), so a(3) = -1;
n = 4: (0,1) -> (0,0), so a(4) = 0;
n = 5: (0,1) -> (1,1) -> (2,1) -> (2,0), so a(5) = 2;
n = 6: (0,1) -> (0,2) -> (1,2) -> (1,1) -> (1,2) -> (2,2) -> (2,1) -> (3,1) -> (3,0), so a(6) = 3.
For example, the first two walkers leave the arrow at (0,1) pointing north. So the third walker moves north to (0,2), where the arrow still points south, and returns to (0,1); the arrow there now points west, so the walker moves west to (-1,1) and then south to (-1,0).
After six walkers the arrows are as follows (S, E, N, W for south, east, north, west; all arrows not shown still point south):
y = 2: S N N E S
y = 1: E W W N E
x = -1 0 1 2 3
Six arrows point east or north, and five point north or west; indeed a(1) + ... + a(6) = 0 + 1 - 1 + 0 + 2 + 3 = 5.