code: def int2baseTwo(x):
      
      # repeating x >>= 1 and x & 1 will do the trick
      assert x >= 0
      bitInverse = []
      while x != 0:
          bitInverse.append(x & 1)
          x >>= 1
      return bitInverse
docs: x is a positive integer. Convert it to base two as a list of integers
      in reverse order as a list.