CoreMotion example for SpriteBuilder