Hundreds have been killed in Israel and Gaza, and thousands more are injured after Hamas launched a surprise attack on Saturday.