INFO 247 - Lab 10 - #4 (full code)