This program finds a path between two points