What general received the surrender of Richmond