Update Composing-Music-Algorithmically.tex

Small correction to the pseudo code.