add four algorithms Nov 6th