SImple Dynamic Time WArping Python Code