C++ MapReduce Library for efficient multi-threading on single-machine