A ceasefire agreement, including a hostage exchange, was reached between Israel and Hamas