Add edge partitioner to the code, This is a hacky implementation, I will
fix it in the next commit.
 Add edge partitioner to the code, This is a hacky implementation, I will fix it in the next commit.