Generate Binary Numbers Leetcode 1508