Homework #3

Very smart construction in the while loop.