Add Bash solution for CompressedSequence