Exercise 3.72: In a similar way to Exercise 3.71
generate a stream of all numbers that can be written as the sum of two
squares in three different ways (showing how they can be so written).