adding algorithm figures