Code for the third project in ISU's Com Sci 28