David Cameron announced he will step down following the country's vote to leave the Eurpean Union.