3 exercises from chapters 1 + 2