Simple dynamic time warping in Java with sample data and sample programs