added all the stuff from when it was finished for CS50 project. may or may not work at this point