Add some basic text for ex. 2 and remove some unnecessary code from ex. 2

- Fix some of the preamble of the tex
- Give the code includes in the tex better names and labels
- Add latex labels inside the code so we can refer to specific lines from latex using the wonderful functionality that makes latex so much easier to use.
- Remove some code that we dont use