Solutions to K&R "The C Programming Language" exercises