Uploading Logic Gates decorator directory

Taken from the modelica decorator example to get started.