Added Check Feature

Allows the user to check their desired output against the values
produced by the truth table of the last gate.