Exercise 5-15: Stream.hasSubsequence
Exercise 5-16: Stream.scanRight