At a memorial for former South African president Nelson Mandela, President Obama greeted world leaders, including Cuban President Raul Castro.