added method that provides an entire function table
added a test case for a truth table - got error