Fix typo: algorith -> algorithm

Docs typo.