added tex-code for problem session 3