Added prototype for the truthTable function