Earthquake of 5.2 magnitude hits Andaman and Nicobar Islands