Learning how to use swift with the Accelerometer and Gyrosope