add four algorithms Nov 16th