read width:int height:int
loop height read row:word(width)
write 0 0 -1 -1 -1 -1 -1 -1 -1 -1
1 2 -1 3 -2 4 0 0 2 -2
...

STATEMENT
Compute the proper wall / jump point distances, according to the preprocessing phase of the JPS+ algorithm.

INPUT
width: Width of the map
height: Height of the map
row: A single row of the map consisting of passable terrain ('.') and walls ('#')

OUTPUT
For each empty tile of the map, a line containing "column row N NE E SE S SW W NW".
