Composing Bach Chorales using Python