Row Sum Print Leetcode Javascript Questions Basic