Assignment 3 for CSCI 201 class.