added task_3.c