An implementation of "Searching and Mining Trillions of Time Series Subsequences under Dynamic Time Warping, 2011"