Code:
http://megacloudfiles.com/rqrwrxz6e4p1/Lead_Avalanche.pdf.html