doc for algorithms added.