Implemented split_reads (without unittest).