created a createTask for the todoApp