modification of phidget python program

edited the example program to make it lighter.