algorithm: Page 18, 19