week3 graph min cut