Adding code for CSCI 226 Final Project.