Builds a file of truth table values for a logical expression