In his last New Years speech as US president Barack Obama spoke about his legacy and how the United States have changed in the last eight years.