Systemverilog Sum Of Array Leetcode