add four algorithms Oct 6th