Removed non-working path-finding code