Solutions for the first section3 tests