From Boolean functions to circuit diagrams: