Added chapter 3. Updated chapters 1 and 2 from the original in english.