Completed second challenge of chapter 2.