[HomeWork1.c] few minor fixes