Snippets from my time learning Java