A simple python script to determine all possible musical rhythms.