Implemented several functions to allow C# control of purple robot in controlTypeExamples.ttt