Up to takewhile
Added teetest.swift, which crashes the compiler.