All programs in "The C Programming Language" by Brain Kernighan and Dennis Ritchie