Update truthtable.cpp