Hamas and Israel agree to an agreement on a ceasefire in Gaza ravaged by more than 15 months of war by the regime.