testing script to interface with the GPIO of Raspberry PI