K & R Exercise 1.1
K & R exercise 1.2