problems 1-5 from "Good Parts"