added an accelerometer.lua and code to use rcorona for testing in main.lua