Added algorithm docs