Update lecture2.tex

Exercise 2b by Borja Elizalde and Cecilia Girón has been included.