use code_mapsum for generation of map sum functions
use code_mapmean to generate map-mean functions
finished refactoring of mapreduce.jl
refactored reducedim
allow extra arguments in reducedim codes generation
use generate_reducedim_codes for foldl
minor fix of benchmark codes