Exercise 1-1 K&R2