Chapter excercises from K&R.