Something the internet found today, just read it on reddit :-)

http://www.franciscotufro.com.ar/2009/09/06/algorithmic-composition-using-an-extension-of-guido-darezzos-method/

/Robert