Neural Algorithms for Graph Navigation