Working towards C implementation of Union from zee book