Assignment 2.  Loops and Logic. 4 problems.