Code written for my classes, taken at CalPoly San Luis Obispo