Removed a pointless function.
Initial bug path finding version.