Obama leads country through grief