Create PID

PID with relay output, modified from the example code given online
Merge pull request #4 from virginia-chen/patch-3

Create PID