The puzzle instinct