- implemented mapper in the correct way (tested on a single machine, still needs to be tested using the network mode