Code from my introductory Java course at Stanford