Israel and Hamas agree on a ceasefire deal to release hostages and allow humanitarian aid into Gaza, effective Sunday.