add map reduce to dictionary problem
clarify only reduce, not map
solution for reduce to dictionary problem