Examples of some code I wrote.