add three algorithms Nov 18th