An insight into crash avoidance and overtaking advice systems forAutonomous Vehicles: A review, challenges and solutions