home tasks 24,25, // 3 misprints corrected