Map-Reduce implementation in Golang