add four algorithms Oct 18th