add three algorithms Oct 18th