Added error handling for contigs present in bam files but not in contig
file. Separated error handling into a new module.