This is the in-class warmup assignment I'm submitting as a homework.