Obama and Ahmadinejad go head-to-head at UN assembly