My solutions for K&R exercises