add four algorithms Nov 2nd