Simulating analogical mapping difficulties in recursion problems