Working with swift and test out how to use the gyro