Added truth table generator