more K&R exercises