Graph read
Min cut implemented