adds dictionary code to latex
finishes project