5 9
31714.314
S...035.6
.E..25..0
.6..37115
.2175....

$
. = NULL
0 = Vertical
1 = Horizontal
2 = TopRight        (NE)
3 = BottomRight     (SE)
4 = BottomLeft      (SW)
5 = TopLeft         (NW)
S = Start
E = End