Refactor problem 2

Remove the intermediate TakeWhileSequenceView type and just return the result of GeneratorOf directly. I don’t like leaking implementaiton details of takeWhile, but Swift unfortunately does not allow “generic” protocols to be used as types (just generic constraints).