finished LaTeX for HW1