Solution 1.21 - 1.28. Divide solutions by chapters. More verbose assert functions