Fixes typo algorihtm -> algorithm