Design of Water Supply Pipe Networks