Fix bug caused by Greater than Less than mixup
Change so that we are reading and writing BAMs rather than SAMs, permanent fix later.
Add bam test files