fixed naming in basic_compress.rb and minor mistake with Range
basic_compress.rb: oops, range was correct.
created an iterator for iterating by 2 items at a time (Ruby)