variables to recieve wiringPi functions should be signed.
modified readme and code for readability