Algorithms by madrat.net