[BUG] fix a bug when add edge tuple
add device ID in GRD
[Refactor] Add inEdges to flex::graph so that we can calculate the inbox size for each partition.
[Feature] Add MessageBox class in Partition to handle the message passing.