Turn your Finch into an timer. Allow the user to input a number of seconds. When that time is up, the Finch should do whatever is necessary to get the user's attention. The Finch should continue to act until the user shakes the Finch with an acceleration that has a magnitude greater than 2g. Remember that the acceleration is each direction is between -1.5g and 1.5g. You will need to combine the acceleration measurements in each direction to find the total magnitude of the acceleration: a = sqrt(ax2 + ay2 + az2).