Basic algorithm documentation