5.8 magnitude quake jolts Andaman and Nicobar islands