Code for Homework 2 in Olin's Software Design class.