added first (super slow) version of path finding