Edge list

graph cut using edge lists.Help with Cythonizing need! :)