K&R chapter1 sample finished