Israel and Hamas have agreed to the first phase of a US-brokered ceasefire.The deal includes releasing all hostages, Israeli troop withdrawals, and freeing some Palestinian prisoners.