Quote:
I'am thinking to delete all the same characters which occur together and keep only one of them.
Wrong
the principle is that
N and
S are opposite directions, same for
E and
W.
It means that if you have both; a move
S will cancel a move
N, same with
E and
W.
So SS
SNNEW -> S
SNEW -> S
EW -> S