fixed major bug in find_longest_contig() subroutine of SSAKEoptimiser_*pl scripts