added slides on the algorithm