Some algorithms in C++11 with boost.