script for splitting interleaved reads properly

Solution for #348. Still needs tests, formatting, etc.