C-algorithms from autumn 2011 - spring 2012 (old)