Wrote the self assembled algorithm section.