Add several sequence functions

After some initial PEP-8 cleanup, this adds mapcat, interpose, and a few others.