There's more...

In case you haven't noticed, we didn't implement the BuildPath method. This is because we talked about it at the end of the recipe in Chapter 2, Navigation, in the recipe Finding your way out of a maze with DFS.