Levels of Reasoning in Keynesian Beauty Contests: A Generative Framework · Study