Program to read Accelerometer Data (Guidelines from karanbalkar)