@SuppressWarnings("unchecked") for great justice.
A bunch of exercise solutions for chapter 1, section 3.