Added Compressed Sequence solution in Ruby