changed vertex value to DoubleWritable
master logic needs rework