So how did Latin America's richest country boasting the world's largest oil reserves find itself on the brink of economic ruin?