Code bits from my AP Computer Science A class. Fun.