CS 211 Project 6 Code