examples and projects from the book "The C Programming Language" by Kernighan and Ritchie