Add section explaining the algorithms