Algorithms done.