Code for the third project in ISU's Comp Sci 228