Some Java exercises to review fundamentals.