Working on problem 2 - learning about loops
Solved problem #2