Cyril Ramaphosa has been elected president of South Africa