Ex 3.17: toString function on a list of double
Ex 3.18: map function
Ex 3.19: filter function on list
Ex 3.20: flatMap function
Ex 3.21: filter with flatMap
Ex 3.{22,23}: zipWith function
Ex 3.24: hasSubsequence function