rewrite leetcode add numbers