Moved truth table functionality to Node's truth_table method