Walking through Kernighan and Ritchie book