Create logic gate classes