changes to contents.pdf, finished algorthms