Code snippets from my advanced programming class.