Map Reduce Framework in C++