Fleshed out reducer in worker.go. Also changed output of reducer to a
list of pair as opposed to a map of string, string.