A walker starts on square (0, 0) of a grid that goes on forever. moves is a list of one-letter steps:
| step | change to (x, y) |
|---|---|
"N" | y goes up by 1 |
"S" | y goes down by 1 |
"E" | x goes up by 1 |
"W" | x goes down by 1 |
Task: write first_revisit(moves). Return the first square, as a tuple (x, y), that the walker stands on for the second time.
None.