adds composer.py (with compose() and helper functions) and a Rhythm_cycle class to rhythms.py