presently i found , by the frequent recurrence of some sound which the stranger repeated after them , that she was endeavouring to learn their language ; and the idea instantly occurred to me that i should make use of the same instructions to the same end .