Assignment 2 for Trenary's CS2240