Finished the last challenge in chapter 2.