Agent cognition through micro-simulations: Adaptive and tunable intelligence with NetLogo LevelSpace