Getting Closer, at this point it writes the first 20 accelerometer x,y,z
values to example.csv. 

However, it freezes after doing that