Add two binary numbers using a stack.