Exercises from Kernighan and Ritchie "The C Programming Language"