[add] solutions for chapter 2. #2-3