iterations and enumerable

practice code