Basic traversal algorithm seems to work! Need several test cases
Also, this must be combined with nextVertex(). Essentially, this
is, while nextVertex(): traverse()
Direction map added to make verification easier.