Fix bug: use double and DoubleWritable instead of int IntWritable for
edge weights

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>