Added a SetPinZ function

Will place the given pin into high impedance state.
Tested and applied encoders.

Encoders have shown to be working indicating that gpio is functional.