[BAM]Implement: New cigar operations, improvement on existing ones, some bug fixing.