string : printing all combinations by replacing '?' with 1s and 0s