setup(): setup is a method CALLED just to configure different parameters for the reducer.
reduce(): reduce is the primary operation of the reducer. The specific function of this method includes DEFINING the TASK that has to be worked on for a DISTINCT set of values that share a key.
cleanup(): cleanup is used to clean or delete any temporary files or data after performing reduce() task.