Truth table generator/interpreter for boolean expressions