Map Reduce algorithm implemented using uC++ in multi-threaded mode