Changed the IntWritable to FloatWritable for sum output
some minor changes
some minor changes