Creating gem file structure.
Fixing off-by-one error.
Adding license.