Saudi Arabia ends death penalty for minors and floggings