Modified the driver

In the driver; the agent moves to find the optimal path