formatting changes to algos, minor edits to content