As a child, Maryam Mirzakhani dreamt of being a novelist, at least until she was struck by the spell of mathematics. Born