Exercise 5-15: Stream.tails