Andhra Pradesh ranked 3rd in road accidents