HaloProfile is a c/c++ library package that computes the concentration - mass relation of dark matter halos