Functions to allow C# control of purple robot in controlTypeExamples.ttt

This is the first time I've used GitHub so please let me know if all is ok.
I've also created a c# version of the bubbleRobClent to run these new functions against if you're interested?