C programs from the book, The C Programming Language (2nd Ed) by K&R