Solution 121 recursive map