kernighan ritchie c exercises