updated LaTeX file (task 1 assignment 3)