After enduring a months-long protest, Sudanese President Omar al-Bashir has stepped down as consultations are under way to form a transitional council to run the country. So how did the country come to the brink of chaos?