Vector generator for binary numbers using recursion.