created map and reduce function pointers

Map and Reduce function Pointers are set to either
map/reduce_wordcount/sort based on user input