No duplicates

No longer visits the same node several times it seems like. Need to
visualise maze in order to see if its working correctly now.