Truth Table implementation -- Microsoft - non-recursive -- Method 3