code for K&R book