Xavier Bresson codes from 2007-2013 http://htmlpreview.github.com/?https://github.com/xbresson/old_codes/blob/master/codes.html