rewrite leetcode add binary