add four algorithms Oct 16th