Write a draft of the basic algorithms section.