create variation of bidigits for exercise 1.8