Finish algorithm to determine path

One method that determines and display the correct path from the bot to
the target in as few moves as possible.