Small samples of some code I have written