5.5 magnitude earthquake shakes parts of Pakistan