My solutions to k&r