President Barack Obama said Nelson Mandela was a "giant of history"