Code I wrote for an undergrad project.  I went a bit beyond the minimum requirements and sometimes toy with it.