Pedestrian Safety And Collision Avoidance For Autonomous Vehicles