A gesture recognizer for the Raspberry Pi and a MPU6050 accelerometer