Some samples of code I have written.