My solutions to Kernighan & Ritchie's C book