Universal NOR gate and its application in automobile alarm system