The implementation of some algorithm