Program to read Accelerometer Data