Shock result: Prime Minister David Cameron announced he would resign following the Brexit vote