The Munoz-Eaton Model for Protein Folding and its Exact Solution