A foreigner had a brief stay in one of Indonesia’s pesantrens to study its culture. This is his story.