Changed some properties of the undirected cuts and random walks, and made small skeleton for undirected_partitioning tests.