Exercises from Kernighan and Ritchie's book, "The C Programming Language"