Row Sum Print Leetcode Problems Javascript For Web