Provide high quality solutions to the exercises in "The Practice of Programming" by Kernighan and Pike, also referred to as "TPOP".