Improve introduction text.
Fix references format
Overcome problems with algorithm2e version.
Fix references.
Fix chapter 1 content.