Working through Kernighan and Ritchie's The C Programming Language