Added chapter 2 solution and examples about enum and struct