add rectangle algorithm, edit retrospective section