Final version of assignment-2.tex/pdf