Modified chapter 2 in diploma project. Added chapter 2.2 and 2.3