Peter Magyar has officially been sworn in as Hungary’s new prime minister, almost a month after defeating Viktor Orban.