Exercises and solutions using K&R C programming text