answers for "The C Programming Language" by K&R tasks