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