Cyprus was hit by a magnitude 5.5 earthquake on Wednesday, according to the US Geological Survey.