finished algorithmic composition in max