code for my undergraduate thesis