Shahbaz Sharif elected 23rd prime minister of Pakistan