removing extra i in Matteo's surname
fixing error and warnings in task.c