About the solution to exercise 5

Marko Sobak discovered an error in the solution to exercise 5 in the exam (my example didn't work at the left end-point). I've updated the solution (with Marko's example).