Magnitude 4 earthquake hits northern Algeria