Path Planning and Trajectory Planning Algorithms: A General Overview