Simple WordCount Mapper and Reducer in Python