assignment10 circle with accelerometer (found online)