old_contents: #Found online but understand and good example
  def tablize(n, truths=[]):
      if not n:
          print truths
      else:
          for i in [True, False]:
              tablize(n - 1, truths+[i])
  
  tablize(20)
  
  
  def main():
      #Main stuff here
  
  def initializeValues():
      #Initial value generation
  
  def rows():
      #returns reults for each individual row given initial columns
  
new_contents: import sys, math
  
  def main():
      #Main stuff here
  
  def initializeValues(numberOfVariables):
      #Initial value generation
      if numberOfVariables < 1:
          return [[]]
      subtable = initializeValues(numberOfVariables - 1)
      return [row + [v] for row in subtable for v in [True, False]]
  
  def rows():
      #returns reults for each individual row given initial columns
  
  print(initializeValues(3))
  
subject: initialize values function working