Row Sum Print Leetcode Problems Javascript Map