Statistics for Modeling of an algorithm for design and analysis of water supply systems : a case of Ministry of Water, Tanzania