A simple python script which will show the state of the piface digital input ports