add four algorithms Nov 15th