InputPrepare mapred job calculates incoming edges

input prepare job now add incoming each to nodes
Modified Path (concatenate and extend methods)

Implemented Concatenate method in path class
check for cycles in extend method in path class