Euclidean Algorithm for generating traditional musical rhythms