Imitating the mind of a child