Finished Ex2, reformatted Ex5

Finished Exercise 2 and put Exercise 5 in TeX Tables. Formatting looks
still a bit strange though. Feel free to reformat.