add some algorithm sample