2 algorithms added