Optimize Water Distribution in a Village