Toy model for protein folding