finished hw3. did not do challenge problem.