Initial commit. Added .rvmrc, Gemfile, lib and spec files.
Added case for checking empty input sequence.