Created as part of lab 3 for Ming Chow's comp 20 class at Tufts University