Movement pattern recognition through smartphone's accelerometer