Logic Gates From Truth Table