Solutions to The C Programming Language book by Brian Kernighan and Dennis Ritchie