Truth Tables for IF diagram