Basic movement detection

Detects horizontal swipes as right and left, and vertical swipes as up and down. Determines the rotation of the circle motion and the degree of rotation. And has a tap functionality.