Got basic I/O working for fastq and bam files, also wrote the needle function but the custom version isn't working yet.