Source code for my second-year paper