Sample that uses CoreGraphics and CoreMotion to create a bubble level app