Accelerometer fixed and implemented

Accelerometer is implemented, fixed the score system: generate score as
the level goes up.