Implement flatMap with sequence(). Resolves #88.

Implement `flatMap` using `sequence` instead of `flatten` per the disscussion in #88.