Code for my Senior Thesis project