starts from a point and arrives at a destination by finding a complicated path.