Code for all of Comp 40 (oh boy)