Add Two Integer Leetcode Javascript Practice