For working through the CSCI 3308 Lab 3