Using PullUp and PullDown Resistors on the Raspberry Pi